package com.ruicar.afs.cloud.seats.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * The type PersonalPowerParam
 *
 * @author tiankai
 * @Describe 个人权限控制表
 * Created on 2020-05-15
 */
@Data
@TableName("seats_personal_power_param")
@ApiModel(value = "个人权限控制信息")
public class PersonalPowerParam extends BaseEntity<PersonalPowerParam> {

    @ApiModelProperty(value = "用户id")
    @JsonSerialize(using = ToStringSerializer.class)
    Long userId;

    @ApiModelProperty(value = "参数名称")
    String paramName;

    @ApiModelProperty(value = "参数值")
    String paramValue;

    @ApiModelProperty(value = "操作组id")
    String groupId;

    @ApiModelProperty(value = "登录名")
    String loginName;
}
